package com.hmh.Entities;

/**tag和post是多对多关系，需要中间表*/
public class Tag {
    private int id;
    private String tag_name;

    @Override
    public String toString() {
        return "Tag{" +
                "id=" + id +
                ", tag_name='" + tag_name + '\'' +
                '}';
    }

    public Tag() {
    }

    public Tag(int id, String tag_name) {
        this.id = id;
        this.tag_name = tag_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTag_name() {
        return tag_name;
    }

    public void setTag_name(String tag_name) {
        this.tag_name = tag_name;
    }
}
